<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2024/12/4
  Time: 10:50
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    单一上传
    <form action="/SpringMVC_08/upload1" method="POST" enctype="multipart/form-data">
        <input type="file" name="headImg">
        <input type="submit">
    </form>

    模拟注册上传
    <form action="/SpringMVC_08/upload2" method="POST" enctype="multipart/form-data">
        <input type="file" name="headImg">
        <input type="text" name="username">
        <input type="text" name="password">
        <input type="submit">
    </form>
</body>
</html>
